package com.example.homeworkmanagement.service;

import com.example.homeworkmanagement.pojo.Attachments;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.homeworkmanagement.vo.ResultVO;

import javax.servlet.http.HttpServletResponse;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 拒绝加班
 * @since 2025-05-25
 */
public interface AttachmentsService extends IService<Attachments> {

    // 根据附件ID删除附件
    ResultVO<Attachments> deleteAttachment(Integer attachmentId);
    // 根据附件ID获取附件docx文件
    ResultVO<String> downloadAttachmentByAttachmentId(Integer attachmentId);
}
